-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add (<$$>) to Functor. #20509
base: main
Are you sure you want to change the base?
Add (<$$>) to Functor. #20509
Conversation
b9eb8e5
to
9371fee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This breaks the platform independence tests. Would you mind running
and committing the resulting changes? |
Head branch was pushed to by a user without write access
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Fixed. |
Useful for manipulating
Optional
s or lists nested inUpdate
/Script
we often get from the query/fetch/lookup functions (in the absence of functor composition or monad transformers).In general, it would still be useful for all effectful functions in the Kleisli form. Sometimes
(<=<)
is an over kill, and it wouldn't even work for non-monadic applicatives likeCommands
andValidation
.The fixity follows the version from https://hackage.haskell.org/package/composition-extra-2.1.0/docs/Data-Functor-Syntax.html .